package com.spring.demo2.eg3;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author vhans
 */
public class User {
    @Autowired
    private String name;

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                '}';
    }
}
